package com.gz.furnitures.dao;

import com.gz.furnitures.entity.Member;

public interface MemberDao {
    //通过用户名返回对应的Member
    public Member queryMemberByName(String name);

    //通过用户名和密码登录
    public Member queryMemberByNameAndPassword(String name, String password);

    //保存一个数据到数据库
    public int insertMember(Member member);
}
